﻿
@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>XX文档系统</title>
    <style>
        #main {
            width: 1040px;
            height: 890px;
            border: #83b3d9 2px solid;
            background: #f2f7fb;
        }

        #shut {
            width: 45px;
            height: 30px;
            float: right;
            margin-right: -1px;
        }

            #shut:hover {
            }
    </style>
</head>
<body style="margin:0; padding:0;border:0px; overflow:hidden" scroll="no">
    <script type="text/javascript">
        function Save() {
            var saveUrl = "/RevisionOnly/SaveDoc";
            pageofficectrl.SaveFilePage = saveUrl;
            pageofficectrl.WebSave();
        }

        function OnPageOfficeCtrlInit() {
            pageofficectrl.AddCustomToolButton("保存", "Save", 1);
            pageofficectrl.AddCustomToolButton("隐藏痕迹", "hideRevision()", 18);
            pageofficectrl.AddCustomToolButton("显示痕迹", "showRevision()", 9);
        }

        function showRevision() {
            pageofficectrl.ShowRevisions = true;
        }

        function hideRevision() {
            pageofficectrl.ShowRevisions = false;
        }

    </script>
    <div id="main">
        <div id="content" style="height:850px;width:1036px;overflow:hidden;">
            @Html.Raw(ViewBag.poCtrl)
        </div>
    </div>
</body>
</html>

